package org.dromara.bean.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;

/**
 * 健康科普对象 his_article
 *
 * @author Lion Li
 * @date 2024-12-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("his_article")
public class HisArticle extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 文章内容
     */
    private String content;

    /**
     * 封面图
     */
    private String photo;

    /**
     * 浏览量
     */
    private int browse;

    /**
     * 删除标识
     */
    @TableLogic
    private Long delFlag;

    /**
     * 标题
     */
    private String title;


}
